package com.rescue.forum.dto;

import com.rescue.forum.entity.myentity.ForumFile;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PublishArticleDTO {
    private String cover;//封面路径
    private List<ForumFile> attachments;//附件路径集合
    private Integer pBoardId;//父级板块
    private String pBoardName;//父级板块
    private Integer boardId;//板块
    private String boardName;//板块
    private String title;//标题  长度 150
    private String content;//内容
    private String markdownContent;//markdown内容
    private Integer editorType;//编辑器类型 0:富文本 1:markdown
    private String summary;//简介
}
